package fr.afcepf.projet.hebergeur.data;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;


@Entity
@Table
@Inheritance(strategy=InheritanceType.JOINED )
public class Domaine extends Abonnement{

	private String nom;

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public Domaine() {
		super();
	}

	@Override
	public String toString() {
		return "Domaine [getNom()=" + getNom() + ", getDateRenouvellement()="
				+ getDateRenouvellement() + ", getClient()=" + getClient().getNumClient()
				+ ", getPrix()=" + getPrix() + ", getDateCreation()="
				+ getDateCreation() + ", getDateFin()=" + getDateFin()
				+ ", getNumAbo()=" + getNumAbo() + "]";
	}

}
